package com.haoting.mamba.ucenter.feign;


import com.haoting.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mamba-news")
public interface NewsFeignService {

    @GetMapping("/news/news/info/{id}")
//    @RequiresPermissions("news:news:info")
    public R info(@PathVariable("id") String id);
}
